package edu.jxnu.zhangjinsong.unemploymenttracker.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("match_record")
public class MatchRecord {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    
    @TableField("person_id")
    private String personId;
    
    @TableField("job_id")
    private String jobId;
    
    @TableField("match_score")
    private BigDecimal matchScore;
    
    @TableField("match_time")
    private LocalDateTime matchTime;
    
    @TableField
    private String status;
    
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    public enum MatchStatus {
        待查看, 已推荐, 已拒绝, 已面试, 已录用
    }
}